Skip to main content

Minimize Window

AutomatR.Windows.Activities.MinimizeWindow

The "Minimize Window" activity in AutomatR is designed for UI Automation in Windows. It allows you to minimize the specified application window, providing flexibility and control in automation workflows.

Properties

NameDescription
Input
Display TitleEnter the title of the window app that needs to be minimized. String variables containing the window title.
Process NameEnter the process name of the window app that needs to be minimized. String variables containing the process name.
Process TitleEnter the process title of the window app that needs to be minimized. String variables containing the process title.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Current Active WindowWhen enabled, indicates the current active window for the activity. Boolean variables to set the activity to focus on the current active window.
WindowEnter the window variable for the app that needs to be minimized. SelectorWindow variables.
Optional
DelayEnter the wait time in seconds (Example: 5 seconds i.e., 5) to start the activity. Integer variables containing the delay duration.

How to use:

  1. Drag and drop the "Minimize Window" activity onto the workflow.
  2. Configure the properties by specifying the display title, process name, or process title of the window app to be minimized.
  3. Optionally, configure the delay and customize the display name.
  4. Execute the workflow to minimize the specified window.

Example: Consider an example where the "Minimize Window" activity is used to minimize a window with the title "Document Viewer."

Minimize Window:
Display Title: "Document Viewer"
Result: isMinimizeSuccessful

In this example, the activity minimizes the window with the title "Document Viewer." The result of the operation (success or failure) is stored in the Boolean variable "isMinimizeSuccessful" for further handling in the workflow.